package remote.events
{
	import flash.display.DisplayObject;
	import flash.events.Event;
	
	
	/**
	 * 子对象存在事件
	 * @author 银魂飞雪
	 * @createDate 2011-3-29
	 */
	public class ChildExistenceChangedEvent extends Event
	{
		public static const CHILD_ADD:String = "childAdd";
		public static const CHILD_REMOVE:String = "childRemove";
		
		public var relatedObject:DisplayObject;
		public function ChildExistenceChangedEvent(type:String, relatedObject:DisplayObject, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.relatedObject = relatedObject;
		}
	}
}